//
//  SearchViewController.m
//  Drawer
//
//  Created by 高振权 on 15/4/22.
//  Copyright (c) 2015年 Jiarui Han. All rights reserved.
//

#import "SearchViewController.h"

@interface SearchViewController ()

@end

@implementation SearchViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor blackColor];
    [self popToLast];
    // Do any additional setup after loading the view.
}

- (void)popToLast
{
    UIPanGestureRecognizer *pan = [[UIPanGestureRecognizer alloc] initWithTarget:self action:@selector(returnToLast:)];
    [self.view addGestureRecognizer:pan];
}

- (void)returnToLast:(id)sender
{
    [self.navigationController popViewControllerAnimated:YES];
}


@end
